/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cbsnserverparte;

/**
 *
 * @author Craig Butler (5668670)
 * @author Stephen Norman (616000X)
 * @version 1.0 22/05/2008
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args)
    {
        // Leave a blank line for readability
        System.out.println();
        
        // Welcome the user to the application
        System.out.println("HIT2120 CBSN Server Part E");
        System.out.println("By Craig Butler (5668670) and Stephen Norman (616000X)");
        
        // Leave a blank line
        System.out.println();
        
        // Tell the user about GoBack-N
        System.out.println("This application shows an example GoBack-N protocol in action.");
        System.out.println("We will transmit approx. 100 packets from the server to the client via a relay.");
        System.out.println("These packets may be corrupted, dropped or arrive out of order.");
        
        // Leave a blank line
        System.out.println();
        
        // Create a new protocol
        Protocol p = new Protocol();        
        
        // We're now ready to turn control over to the protocol's
        // automated process
        
        // From here on all code will be in the protocol class
        p.commenceAutomatedActions();
    }
}
